Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Php
1) Algorithms
2) Authentication
3) Calendar
4) Chart
5) Class
6) Code Snippets
7) Components
8) Content Management
9) Cookie Session
10) Data Type
11) Date Time
12) Design Patterns
13) Development
14) DNS
15) Email
16) File Directory
17) Form
18) Functions
19) Graphics
20) HTML
21) Language Basics
22) Login Authentication
23) Math
24) MySQL Database
25) Network
26) Operator
27) PDF
28) Reflection
29) Searching
30) Site Navigation
31) Statement
32) Statistics and Counters
33) Strings
34) User Management
35) Web Services SOAP WSDL
36) XML
Statement
1) A division table
2) A for loop in PHP
3) A for Loop That Divides 4000 by Ten Incremental Numbers
4) A helpful addition to if statements is the elseif statement, which allows you to chain conditions together in a more intelligent
5) A sample while loop that counts to 10
6) A switch Statement
7) A switch Statement for string
8) A while Statement
9) Alternating table row colors with for()
10) An if Statement
11) An if Statement for string
12) An if Statement That Uses else
13) An if statement That Uses else and else if
14) Approximating a square root
15) Array element order and foreach()
16) Basic Use of the if Statement
17) Break 1 or break 2
18) Break in Nested Loops
19) Break Statement
20) Break within a for loop
21) Breaking a Loop
22) Case Switching
23) Catching Exceptions in PHP 5
24) Checking multiple conditions
25) Continue Statement
26) Continue within a for loop
27) Convert the while statement into a for statement
28) Counting to 10 with do while
29) Create a while statement that prints every odd number between 1 and 49
30) Displaying the contents of an array using a loop
31) Do while loop
32) Do while loop is executed at least once
33) Do while loop with counter
34) Do while with integer counter
35) Executing Multiple Statements with One if
36) Extends Exception to create your own exception
37) Fahrenheit and Celsius table by for loop
38) Fahrenheit and Celsius table by while loop
39) For loop
40) For loop format
41) For statement without all three statements
42) For statement without second condition
43) Foreach Demo
44) If statement inside a for loop
45) If-else Statement
46) Implementing the traversable Iterator
47) In a switchcase block, you specify what you are checking against, then give a list of possible values you want to handle
48) In if statement use OR to connect two conditions
49) Infinite Loops
50) Iterating through a multidimensional array with for()
51) Iterating through a multidimensional array with foreach()
52) Iterating through a numeric array with for()
53) Iterating Through Object Properties
54) Loop goes from 0 to 100 in steps of 0 1
55) Looping through an Enumerated Array
56) Loops Within Loops
57) Making a decision with if()
58) Modifying an array with foreach()
59) Multiconditional if Statements
60) Multiple expressions in for()
61) Multiple statements in an if() code block
62) Nesting Two for Loops
63) Omitting the break statement can be useful in some cases
64) Print the string Child message if the $age variable is between 1 and 17
65) Printing a select menu with for()
66) Printing a select menu with while()
67) Printing out all the web-safe color codes
68) Specifying a number after break, such as break 2, to break out of two loops or switchcase statements
69) Switch and constants
70) Switch command for string value
71) Switch Statement
72) The break command applies to both loops and switchcase statements
73) The do while Statement
74) Throwing an Exception
75) Use and to connect two statement in if statement
76) Use for loop to output HTML table
77) Use the default case
78) Using break to avoid division by zero
79) Using continue instead of break
80) Using Custom Exceptions to Handle Different Circumstances
81) Using else with if()
82) Using elseif()
83) Using endswitch to end the switch definition
84) Using foreach() to Iterate Through an Array
85) Using foreach() with numeric arrays
86) Using if statement to print Youth message if $age is between 18 and 35
87) Using if Statements to Mimic a select Statement
88) Using if to test for multiple values
89) Using PHP 5 exception handling
90) Using switch to test for multiple values
91) Using the break Statement
92) Using the continue Statement
93) Using the DEFAULT
94) Using the for Statement
95) Using the switch Statement
96) What happens when there are no break keywords
97) While and loop counter
98) Within an if Else statement